/**
 * @author lijunhao
 * 2023/7/11 作业
 * @description TODO
 */
public class Jzt {
    public static void main(String[] args) {
        int level=5;
        for(int i=1;i<+level;i++){
            for(int a=1;a<=5-i;a++) {
                System.out.print(" ");
            }
            for (int j = 1; j <= 2 * i - 1 ; j++) {
                System.out.print("*");
            }
            System.out.println();
}}}
